#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "Expense.h"

@interface ExpenseEditController : UIViewController<UITextFieldDelegate, UITextViewDelegate> {
    IBOutlet UITextField* name;
    IBOutlet UITextField* type;
	IBOutlet UITextField *amount;
	IBOutlet UITextField* date;
	IBOutlet UITextView* note;
	Expense* exp;
}


@property (nonatomic, retain) UITextField* name;
@property (nonatomic, retain) UITextField* type;
@property (nonatomic, retain) UITextField* amount;
@property (nonatomic, retain) UITextField* date;
@property (nonatomic, retain) UITextView* note;
@property (nonatomic, retain) Expense* exp;

- (IBAction)datePressed;
- (IBAction)typePressed;
- (IBAction)expensePressed;
- (void) setValues:(Expense*) expense;
@end
